package libs.yzx.zaza;

import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

public class MainActivity extends AppCompatActivity {

    public static void log(String str) {
        Log.e("--->", str);
    }


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        log("create");
    }

    @Override
    protected void onStart() {
        super.onStart();
        log("start");
    }

    @Override
    protected void onResume() {
        super.onResume();
        log("resume");
    }

    @Override
    protected void onPause() {
        super.onPause();
        log("pause");
    }

    @Override
    protected void onStop() {
        super.onStop();
        log("stop");
    }


    @Override
    protected void onDestroy() {
        super.onDestroy();
        log("destroy");
    }


    @Override
    protected void onPostCreate(@Nullable Bundle savedInstanceState) {
        super.onPostCreate(savedInstanceState);
        log("post create");
    }

    @Override
    protected void onPostResume() {
        super.onPostResume();
        log("post resume");
    }


}
